﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication2
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string str = Request.QueryString["userName"];
            string str1 = Request.QueryString["passWord"];
            if (str!= null && str1 != null)
            {
            Response.Write($"<h1>欢迎你，{str}，你的密码是：{str1}</ h1>");
            }
          
            string str2 = Request.Form["userName"];
            string str3 = Request.Form["passWord"];
            if (str2 != null && str3 != null)
            {
                Response.Write($"<h1>欢迎你，{str2}，你的密码是：{str3}</ h1>");
            }
        }
    }
}